<html>
	<body>
	
	<h3>Delete Page</h3>
	{% if api %}
	<table border="1">
		<tr>
			<td>Name</td>
            <td>Email</td>
            <td>ApiKey</td>
            <td>SecretKey</td>
            <td>Enabled</td>
		</tr>
		<tr>
			<td>{{ api.name }}</td>
            <td>{{ api.email }}</td>
            <td>{{ api.api_key }}</td>
            <td>{{ api.secret_key }}</td>
            <td>
                <input type="checkbox" name="{{ api.api_key }}"
                    {% if api.enabled %} checked{% endif %} disabled>
            </td>
		</tr>
	</table>
		<br>
		<form method="post">
			<input type="submit" name="action" value="Delete" onclick="return confirm('Are you sure?');"/>
		</form>		
		{% else %}
		<p><h2><img src="/icon/done.png" /> Deleted!</h2></p>
		{% endif %}
	<a href="/api_key/list"><img src="/icon/list.png"/>Return to ListPage</a><br>
	<a href="/"><img src="/icon/home.png"/>Return to Homepage</a>
	</body>
</html>
			